import request from "../utils/request";



export default {
    getMenuList(data) {
        return request({
            url: '/menu/list',
            method: 'GET',
            data
        })
    },
    AddAndEditMenu(data) {
        return request({
            url: '/menu/operate',
            method: 'POST',
            data
        })
    },
}